From e34e9874de5e09f4ce971980e54cb00621be393a Mon Sep 17 00:00:00 2001 From: Debian Rust Maintainers Date: Thu, 13 Jun 2024 11:16:41 +0200 Subject: [PATCH] ubuntu-disable-ppc64el-asm-tests Forwarded: not-needed Gbp-Pq: Topic ubuntu Gbp-Pq: Name ubuntu-disable-ppc64el-asm-tests.patch --- compiler/rustc_lint/src/builtin.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/compiler/rustc_lint/src/builtin.rs b/compiler/rustc_lint/src/builtin.rs index 75a0f89321..585c724b6f 100644 --- a/compiler/rustc_lint/src/builtin.rs +++ b/compiler/rustc_lint/src/builtin.rs @@ -2787,7 +2787,10 @@ declare_lint! { /// ### Example /// /// ```rust,compile_fail - /// # #![feature(asm_experimental_arch)] + /// #![cfg_attr( + /// not(any(target_arch = "powerpc64", target_arch = "s390x")), + /// feature(asm_experimental_arch) + /// )] /// use std::arch::asm; /// /// fn main() { -- 2.30.2